package com.heima.article;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ybw
 * @version 1.0
 * @date 2021/12/11 21:17
 */
@SpringBootApplication
@MapperScan("com.heima.article.mapper")
@EnableTransactionManagement
@EnableAsync
public class ArticleApplication {
  public static void main(String[] args) {
    SpringApplication.run(ArticleApplication.class);
  }
}
